//
//  UILabel+estension.swift
//  weiBoOfSwift
//
//  Created by simon on 15/12/10.
//  Copyright © 2015年 simon. All rights reserved.
//

import UIKit

// UILabel的分类
extension UILabel{

    convenience init(textColor:UIColor? = nil,fonSize:CGFloat){
    self.init()
        if textColor == nil {
        self.textColor = UIColor.darkGrayColor()
        
        }else{
        self.textColor = textColor
        }
    
    self.font = UIFont.systemFontOfSize(fonSize)
    self.numberOfLines = 0
        
    }


}